package com.inforich.projectManage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.inforich.common.core.domain.AjaxResult;
import com.inforich.projectManage.domain.ProjectRubbishRemoval;
import com.inforich.projectManage.dto.ProjectApproveDTO;
import java.util.List;
import java.util.Map;

/**
 * 拆迁备案Service接口
 *
 * @author hjm
 * @date 2022-10-30
 */
public interface IProjectRubbishRemovalService extends IService<ProjectRubbishRemoval> {

  /**
   * 分页列表
   */
  Page<ProjectRubbishRemoval> pageProjectRubbishRemoval(Page<ProjectRubbishRemoval> page,
      Map<String, Object> map);

  /**
   * 列表
   */
  List<ProjectRubbishRemoval> listProjectRubbishRemoval(Map<String, Object> map);

  ProjectRubbishRemoval getProjectRubbishRemovalById(String id);

  ProjectRubbishRemoval getProjectRubbishRemovalByProjectId(String projectId);

  /**
   * 审批
   */
  AjaxResult approve(ProjectApproveDTO projectApproveDTO);

  int countByProjectId(String projectId);

  void removeByProjectId(String projectId);
}
